package com.sunmouse.toolkit.constant;

/**
 * Created by Administrator on 2017/8/24.
 */
public class Value {
    public static final int SWITCH = 1;
    public static final int UPDATE = 2;
    public static final int BACK = 3;
    public static final int CONNECTED = 3;
    public static final int RECORD = 4;

    /**
     * broadcast action
     */
    public static class Action {
        private static final String PACKAGE_NAME = "com.sunmouse.toolkit";
        public static final String BACK = PACKAGE_NAME + ".back";
        public static final String SWITCH = PACKAGE_NAME + ".switch";
        public static final String EXCEPTION = PACKAGE_NAME + ".exception";
        public static final String EXCEPTION_RECEIVER = PACKAGE_NAME + ".exception.receiver";
        public static final String AUDIO =PACKAGE_NAME+".audio";
        public static final String AUDIO_COMMAND =PACKAGE_NAME+".audio.command";
        public static final String AUDIO_PROGRESS =PACKAGE_NAME+".audio.progress";
    }

    /**
     * control
     */
    public static class Control {
        public static final int CONNECT = 1;
        public static final int DISCONNECT = 2;
        public static final int STOP = 3;
        public static final int CLOSE_NOTIFICATION = 4;
        public static final int OPEN_NOTIFICATION = 5;

        public static final int PLAY = 6;
        public static final int PAUSE = 7;
        public static final int NEW_PROGRESS = 8;
    }

    /**
     * play status
     */
    public static class Status{
        public static final int PLAYING=11;
        public static final int STOP=12;

        public static final int SUCCESS=13;
        public static final int FAILURE=14;
        public static final int SAVED=15;
        public static final int CONVERT=16;

        public static final int SHOWING=18;
        public static final int DISMISS=19;

    }
}
